Skip to content

Decrease coupling between services - #355

Open
isakstenstrom wants to merge 1 commit into
stop-worker-state-leakingfrom
decrease-coupling
Open

Decrease coupling between services#355
isakstenstrom wants to merge 1 commit into
stop-worker-state-leakingfrom
decrease-coupling

Conversation

@isakstenstrom

Copy link
Copy Markdown
Collaborator

Previously, the different services had many unnesscary dependencies, such as the database cannot run without cleanup, and that the it cannot accept BEP uploads without starting the gRPC BES server, and Graphql API. This change removes many unnesscary dependencies and decreases the coupling between different services.

Some of the changes:

  • Reorganizes bb_portal.proto
  • Moves the database and database cleanup configuration to its own top level configuration.
  • Separate BES/BEP uploading and the Graphql API into two different services.
  • Replace instanceNameAuthorizer with individual authorizers for each service and blob access.
  • Make it possible to
    • not serve the frontend
    • not serve the graphql api
    • run without database cleanup
    • run without a http server
    • run without the BES gRPC server
    • run database cleanup without the BES

@isakstenstrom
isakstenstrom force-pushed the decrease-coupling branch 2 times, most recently from 40e5816 to 620ef3d Compare September 2, 2026 07:41
Previously, the different services had many unnesscary dependencies,
such as the database cannot run without cleanup, and that the it cannot
accept BEP uploads without starting the gRPC BES server, and Graphql
API. This change removes many unnesscary dependencies and decreases the
coupling between different services.

Some of the changes:

- Reorganizes bb_portal.proto
- Moves the database and database cleanup configuration to its own top
  level configuration.
- Separate BES/BEP uploading and the Graphql API into two different
  services.
- Replace instanceNameAuthorizer with individual authorizers for each
  service and blob access.
- Make it possible to
    - not serve the frontend
    - not serve the graphql api
    - run without database cleanup
    - run without a http server
    - run without the BES gRPC server
    - run database cleanup without the BES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant